import { createApp } from 'vue'
import App from './App.jsx'  // 改为引入 .jsx 文件

import router from './router'
import "./main.less"
// import eruda from 'eruda';

// eruda.init();
// 引入 NutUI 组件库
import { createPinia } from 'pinia'
import NutUI from '@nutui/nutui'
import '@nutui/nutui/dist/style.css'

const app = createApp(App)
const pinia = createPinia()

app.use(pinia)
app.use(NutUI)
app.use(router)
app.mount('#app')